<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <ui:composition template="/faces/templates/master_nonav.xhtml">
        <ui:define name="content">
            <h:outputStylesheet library="css" name="bild.css"/>
            <h:form>  
                <br></br>
                <br></br>
                <br></br>
                <br></br>
                <br></br>
                <br></br>
                <h:panelGrid columns="2" cellpadding="5">
                    <p:outputLabel for="j_username" value="Benutzername"/>
                    <p:inputText id="j_username" type="text" value="#{loginBean.username}"/>
                    <p:outputLabel for="j_password" value="Passwort"/>
                    <p:inputText id="j_password" type="password" value="#{loginBean.password}"/>
                    <p:commandButton value="Login" action="#{loginBean.login()}"/>
                    <p:commandButton value="Abbrechen" action="/faces/index.xhtml?redirect=true" ajax="false" immediate="true"/>
                </h:panelGrid>
            </h:form>
        </ui:define>
    </ui:composition>
</html>
